<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<#assign basePath=request.contextPath>
<#include "${basePath}/include.ftl" >
</head>
<body>
<div class="layui-fluid">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>展示</legend>
    </fieldset>

    <div class="layui-form">
        <div class="layui-form-item">
            <div class="layui-inline">

                <div class="layui-inline">
                    <label class="layui-form-label">岗位名称:</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" type="text" placeholder="请输入" id="postName">
                    </div>
                </div>

                <div class="layui-inline">
                    <label class="layui-form-label">岗位编码:</label>
                    <div class="layui-input-inline">
                        <input class="layui-input" type="text" placeholder="请输入" id="postCode">
                    </div>
                </div>

                <div class="layui-inline">
                    <label class="layui-form-label">岗位状态:</label>
                    <div class="layui-input-inline">
                        <select name="status" lay-filter="status">
                            <option value="">全部</option>
                            <option value="0">正常</option>
                            <option value="1">停用</option>
                        </select>
                    </div>
                </div>

                <div class="layui-inline">
                    <label class="layui-form-label">创建时间:</label>
                    <div class="layui-input-inline">
                        <input type="text" class="layui-input" id="month" placeholder="选择区间">
                    </div>
                </div>

                <div class="layui-inline">
                    <button class="layui-btn layui-btn-radius" onclick="serach()"><i class="layui-icon">&#xe615;</i>查找
                    </button>
                    <button class="layui-btn layui-btn-radius layui-btn-warm " onclick="reload()"><i class="layui-icon">&#xe666;</i>刷新
                    </button>
                </div>
            </div>
            <blockquote class="layui-elem-quote layui-quote-nm">
                <table class="layui-table" id="tb" lay-filter="tb"></table>
            </blockquote>
        </div>
    </div>
</div>
</body>
<!-- 自定义toolbar -->
<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <@shiro.hasPermission name="system:post:add">
            <button class="layui-btn layui-btn-sm" lay-event="insert"><i class="layui-icon layui-icon-add-1"></i>添加</button>
        </@shiro.hasPermission>
        <@shiro.hasPermission name="system:post:remove">
            <button class="layui-btn layui-btn-sm" lay-event="remove"><i class="layui-icon  layui-icon-delete"></i>删除</button>
        </@shiro.hasPermission>
    </div>
</script>
<!-- 自定义行tool -->
<script type="text/html" id="tool">
    <@shiro.hasPermission name="system:post:edit">
        <button class="layui-btn layui-btn-sm" lay-event="update"><i class="layui-icon layui-icon-edit"></i>编辑</button>
    </@shiro.hasPermission>
</script>
<script type="text/javascript" src="${baseApp}/system/post/post.js"></script>
</html>
